package com.filldream.fastboot.base.request.app.account;

import com.filldream.fastboot.common.annotation.SunParam;
import com.filldream.fastboot.common.constant.FinalStr;
import com.filldream.fastboot.common.constant.PatternEx;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author RickSun && iFillDream
 * @version 1.0
 * @data 2020-05-08 15:49
 */
@ApiModel(value = "账号密码登陆")
@Data
public class PasswordLoginSTO {

    @SunParam(value = PatternEx.str32,message = "密码未经加密，禁止明码传输")
    @ApiModelProperty(value = "密码(请MD5加密后再传入)")
    private String password;

    @SunParam(value = PatternEx.telephone,message = "请输入正确的手机号")
    @ApiModelProperty(value = "手机号")
    private String telephone;

}
